package com.ruoyi.jxgy.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 教师信息对象 jxgy_teacher
 * 
 * @author hujiale
 * @date 2023-04-28
 */
public class JxgyTeacher extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 教师id */
    private Long tchId;

    /** 教师姓名 */
    @Excel(name = "教师姓名")
    private String tchName;

    /** 教师性别 */
    @Excel(name = "教师性别")
    private String tchSex;

    /** 班级id */
    @Excel(name = "班级id")
    private Long clsId;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setTchId(Long tchId) 
    {
        this.tchId = tchId;
    }

    public Long getTchId() 
    {
        return tchId;
    }
    public void setTchName(String tchName) 
    {
        this.tchName = tchName;
    }

    public String getTchName() 
    {
        return tchName;
    }
    public void setTchSex(String tchSex) 
    {
        this.tchSex = tchSex;
    }

    public String getTchSex() 
    {
        return tchSex;
    }
    public void setClsId(Long clsId) 
    {
        this.clsId = clsId;
    }

    public Long getClsId() 
    {
        return clsId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tchId", getTchId())
            .append("tchName", getTchName())
            .append("tchSex", getTchSex())
            .append("clsId", getClsId())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
